#pragma once

#include "cocos2d.h"
#include "AtlasLoader.h"
#include "WelcomeScene.h"
#include "SimpleAudioEngine.h"

using namespace cocos2d;
using namespace CocosDenshion;

class LoadingScene : public Scene {
public:
	/*
	 * the default constructor
	 */
	LoadingScene();

	~LoadingScene();

	/*
	 *	Initalizes the instance of LoadingScene
	 */
	virtual bool init();

	CREATE_FUNC(LoadingScene);

	void onEnter() override;

private:
	
	/*
	 * Called when the texture (exp atlas.png) is loading finish, will call this function.
	 */
	void loadingCallBack(Texture2D* texture);
};

